getRetained

open fun getRetained(): Boolean

Whether the message should be retained (or not)
bool retained = 4;

Return

The retained.